package com.xx.entity;

import java.io.Serial;
import java.io.Serializable;
import java.util.List;

public class Department implements Serializable {
    @Serial
    private static final long serialVersionUID = -8651656814433776504L;

    //部门ID
    private int departmentId;

    //部门姓名
    private String departmentName;

    private List<Employee> employeeList;

    public int getDepartmentId() {
        return departmentId;
    }

    public void setDepartmentId(int departmentId) {
        this.departmentId = departmentId;
    }

    public String getDepartmentName() {
        return departmentName;
    }

    public void setDepartmentName(String departmentName) {
        this.departmentName = departmentName;
    }

    public List<Employee> getEmployeeList() {
        return employeeList;
    }

    public void setEmployeeList(List<Employee> employeeList) {
        this.employeeList = employeeList;
    }

    @Override
    public String toString() {
        return "Department{" +
                "departmentId=" + departmentId +
                ", departmentName='" + departmentName + '\'' +
                '}';
    }
}
